package com.ct.deadlockdetetor.domain.wait;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("tb_process_wait")
public class ProcessWait {

    @TableId(type = IdType.AUTO)
    private Integer processWaitId;

    /**
     * 资源id
     */
    private Integer resourceId;

    /**
     * 进程id
     */
    private Integer processId;

    /**
     * 需要的实例数
     */
    private Integer requestedInstances;
}